<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>misc/xterm.ad</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/misc.html'>misc</a>/xterm.ad</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/misc.html'>misc</a>/xterm.ad</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 misc/xterm.ad'  /> */</em>
<hr />
<pre>
<a id='L1' name='L1'></a>! This file causes when loaded using xrdb correct behavior of xterm
<a id='L2' name='L2'></a>! if you are using enclosed xterm.tcap and xterm.ti.
<a id='L3' name='L3'></a>! Some keys would never normally work if they weren't here (like Alt
<a id='L4' name='L4'></a>! something), some key definitions differ from one termcap/terminfo
<a id='L5' name='L5'></a>! to the other. You may delete any line if you find out that mc
<a id='L6' name='L6'></a>! sends exactly that string which is mentioned here.
<a id='L7' name='L7'></a>! See xterm(1).
<a id='L8' name='L8'></a>! Either put this into your ~/.Xdefaults, or to app-defaults/XTerm
<a id='L9' name='L9'></a>! or wherever it will be loaded into xrm from.
<a id='L10' name='L10'></a>! To know, why this works, see Xt documentation (appendix B).
<a id='L11' name='L11'></a>! On some systems you may want to replace the a (alt) modifiers with
<a id='L12' name='L12'></a>! m (meta) modifier in front of some &lt;Key&gt; events.
<a id='L13' name='L13'></a>*vt100.translations: #override \
<a id='L14' name='L14'></a>     &lt;Key&gt;Home: string(0x1b) string("[7~") \n\
<a id='L15' name='L15'></a>     &lt;Key&gt;End: string(0x1b) string("[8~") \n\
<a id='L16' name='L16'></a>     &lt;Key&gt;Insert: string(0x1b) string("[2~") \n\
<a id='L17' name='L17'></a>     &lt;Key&gt;Delete: string(0x1b) string("[3~") \n\
<a id='L18' name='L18'></a>     &lt;Key&gt;Page_Up: string(0x1b) string("[5~") \n\
<a id='L19' name='L19'></a>     &lt;Key&gt;Page_Down: string(0x1b) string("[6~") \n\
<a id='L20' name='L20'></a>     &lt;Key&gt;Left: string(0x1b) string("OD") \n\
<a id='L21' name='L21'></a>     &lt;Key&gt;Right: string(0x1b) string("OC") \n\
<a id='L22' name='L22'></a>     &lt;Key&gt;Up: string(0x1b) string("OA") \n\
<a id='L23' name='L23'></a>     &lt;Key&gt;Down: string(0x1b) string("OB") \n\
<a id='L24' name='L24'></a>     ~s&lt;Key&gt;F1: string(0x1b) string("[11~") \n\
<a id='L25' name='L25'></a>     ~s&lt;Key&gt;F2: string(0x1b) string("[12~") \n\
<a id='L26' name='L26'></a>     ~s&lt;Key&gt;F3: string(0x1b) string("[13~") \n\
<a id='L27' name='L27'></a>     ~s&lt;Key&gt;F4: string(0x1b) string("[14~") \n\
<a id='L28' name='L28'></a>     ~s&lt;Key&gt;F5: string(0x1b) string("[15~") \n\
<a id='L29' name='L29'></a>     ~s&lt;Key&gt;F6: string(0x1b) string("[17~") \n\
<a id='L30' name='L30'></a>     ~s&lt;Key&gt;F7: string(0x1b) string("[18~") \n\
<a id='L31' name='L31'></a>     ~s&lt;Key&gt;F8: string(0x1b) string("[19~") \n\
<a id='L32' name='L32'></a>     ~s&lt;Key&gt;F9: string(0x1b) string("[20~") \n\
<a id='L33' name='L33'></a>     ~s&lt;Key&gt;F10: string(0x1b) string("[21~") \n\
<a id='L34' name='L34'></a>     &lt;Key&gt;F11: string(0x1b) string("[23~") \n\
<a id='L35' name='L35'></a>     &lt;Key&gt;F12: string(0x1b) string("[24~") \n\
<a id='L36' name='L36'></a>     &lt;Key&gt;F13: string(0x1b) string("[25~") \n\
<a id='L37' name='L37'></a>     &lt;Key&gt;F14: string(0x1b) string("[26~") \n\
<a id='L38' name='L38'></a>     &lt;Key&gt;F15: string(0x1b) string("[28~") \n\
<a id='L39' name='L39'></a>     &lt;Key&gt;F16: string(0x1b) string("[29~") \n\
<a id='L40' name='L40'></a>     &lt;Key&gt;F17: string(0x1b) string("[31~") \n\
<a id='L41' name='L41'></a>     &lt;Key&gt;F18: string(0x1b) string("[32~") \n\
<a id='L42' name='L42'></a>     &lt;Key&gt;F19: string(0x1b) string("[33~") \n\
<a id='L43' name='L43'></a>     &lt;Key&gt;F20: string(0x1b) string("[34~") \n\
<a id='L44' name='L44'></a>     s&lt;Key&gt;F1: string(0x1b) string("[23~") \n\
<a id='L45' name='L45'></a>     s&lt;Key&gt;F2: string(0x1b) string("[24~") \n\
<a id='L46' name='L46'></a>     s&lt;Key&gt;F3: string(0x1b) string("[25~") \n\
<a id='L47' name='L47'></a>     s&lt;Key&gt;F4: string(0x1b) string("[26~") \n\
<a id='L48' name='L48'></a>     s&lt;Key&gt;F5: string(0x1b) string("[28~") \n\
<a id='L49' name='L49'></a>     s&lt;Key&gt;F6: string(0x1b) string("[29~") \n\
<a id='L50' name='L50'></a>     s&lt;Key&gt;F7: string(0x1b) string("[31~") \n\
<a id='L51' name='L51'></a>     s&lt;Key&gt;F8: string(0x1b) string("[32~") \n\
<a id='L52' name='L52'></a>     s&lt;Key&gt;F9: string(0x1b) string("[33~") \n\
<a id='L53' name='L53'></a>     s&lt;Key&gt;F10: string(0x1b) string("[34~") \n\
<a id='L54' name='L54'></a>     a&lt;Key&gt;Return: string(0x1b) string(0x0d) \n\
<a id='L55' name='L55'></a>     a&lt;Key&gt;Tab: string(0x1b) string(0x09) \n\
<a id='L56' name='L56'></a>     a&lt;Key&gt;space: string(0x1b) string(" ") \n\
<a id='L57' name='L57'></a>     a&lt;Key&gt;a: string(0x1b) string("a") \n\
<a id='L58' name='L58'></a>     a&lt;Key&gt;b: string(0x1b) string("b") \n\
<a id='L59' name='L59'></a>     a&lt;Key&gt;c: string(0x1b) string("c") \n\
<a id='L60' name='L60'></a>     a&lt;Key&gt;d: string(0x1b) string("d") \n\
<a id='L61' name='L61'></a>     a&lt;Key&gt;e: string(0x1b) string("e") \n\
<a id='L62' name='L62'></a>     a&lt;Key&gt;f: string(0x1b) string("f") \n\
<a id='L63' name='L63'></a>     a&lt;Key&gt;g: string(0x1b) string("g") \n\
<a id='L64' name='L64'></a>     a&lt;Key&gt;h: string(0x1b) string("h") \n\
<a id='L65' name='L65'></a>     a&lt;Key&gt;i: string(0x1b) string("i") \n\
<a id='L66' name='L66'></a>     a&lt;Key&gt;j: string(0x1b) string("j") \n\
<a id='L67' name='L67'></a>     a&lt;Key&gt;k: string(0x1b) string("k") \n\
<a id='L68' name='L68'></a>     a&lt;Key&gt;l: string(0x1b) string("l") \n\
<a id='L69' name='L69'></a>     a&lt;Key&gt;m: string(0x1b) string("m") \n\
<a id='L70' name='L70'></a>     a&lt;Key&gt;n: string(0x1b) string("n") \n\
<a id='L71' name='L71'></a>     a&lt;Key&gt;o: string(0x1b) string("o") \n\
<a id='L72' name='L72'></a>     a&lt;Key&gt;p: string(0x1b) string("p") \n\
<a id='L73' name='L73'></a>     a&lt;Key&gt;q: string(0x1b) string("q") \n\
<a id='L74' name='L74'></a>     a&lt;Key&gt;r: string(0x1b) string("r") \n\
<a id='L75' name='L75'></a>     a&lt;Key&gt;s: string(0x1b) string("s") \n\
<a id='L76' name='L76'></a>     a&lt;Key&gt;t: string(0x1b) string("t") \n\
<a id='L77' name='L77'></a>     a&lt;Key&gt;u: string(0x1b) string("u") \n\
<a id='L78' name='L78'></a>     a&lt;Key&gt;v: string(0x1b) string("v") \n\
<a id='L79' name='L79'></a>     a&lt;Key&gt;w: string(0x1b) string("w") \n\
<a id='L80' name='L80'></a>     a&lt;Key&gt;x: string(0x1b) string("x") \n\
<a id='L81' name='L81'></a>     a&lt;Key&gt;y: string(0x1b) string("y") \n\
<a id='L82' name='L82'></a>     a&lt;Key&gt;z: string(0x1b) string("z")
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+82 misc/xterm.ad'  /> */</em>
</body>
</html>
